package adapter.classAdapter;

import adapter.adapter.DriveAdapter;
import adapter.src.DriveForWindows;

/**
 * 使用了继承 耦合度太高, 没有遵循迪米特法则
 */
public class DriveClassAdapter extends DriveForWindows implements DriveAdapter {
    @Override
    public Double getTrueRow() {
        Double row = getRow();
        return row * 1073741824  / 1000000000;
    }
}
